package com.source.boot01.uploadcontroller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author wengqy
 * @Date 2021/1/12
 */
@Controller
public class IndexConrtroller {
    @RequestMapping("/index")
    public String  index(Model model){
        model.addAttribute("username","source 7788");
        return  "index";
    }
}
